#ifndef SQLPARSER_SHOW_STATEMENT_H
#define SQLPARSER_SHOW_STATEMENT_H

#include "SQLStatement.h"

// Note: Implementations of constructors and destructors can be found in statements.cpp.
namespace ment {

	enum ShowType {
		kShowColumns,
		kShowTables,
		kShowSchemas
	};

	// Represents SQL SHOW statements.
	// Example "SHOW TABLES;"
	struct ShowStatement : SQLStatement {

		ShowStatement(ShowType type);
		virtual ~ShowStatement();
		virtual std::string execute(std::string username="default");

		ShowType type;
		char* schema;
		char* name;
	};

} // namespace hsql
#endif
